package com.fc.v2.model.auto;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.date.DateUtil;
import java.util.Date;

public class PoetryAuthor implements Serializable {
    private static final long serialVersionUID = 1L;

	
	@ApiModelProperty(value = "id")
	private Integer id;
	
	@ApiModelProperty(value = "名称")
	private String name;
	
	@ApiModelProperty(value = "介绍")
	private String intro;
	
	@ApiModelProperty(value = "朝代")
	private Character dynasty;
	
	@ApiModelProperty(value = "拥有数量")
	private Integer record;
	
	@JsonProperty("id")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id =  id;
	}
	@JsonProperty("name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name =  name;
	}
	@JsonProperty("intro")
	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro =  intro;
	}
	@JsonProperty("dynasty")
	public Character getDynasty() {
		return dynasty;
	}

	public void setDynasty(Character dynasty) {
		this.dynasty =  dynasty;
	}
	@JsonProperty("record")
	public Integer getRecord() {
		return record;
	}

	public void setRecord(Integer record) {
		this.record =  record;
	}

										
	public PoetryAuthor(Integer id,String name,String intro,Character dynasty,Integer record) {
				
		this.id = id;
				
		this.name = name;
				
		this.intro = intro;
				
		this.dynasty = dynasty;
				
		this.record = record;
				
	}

	public PoetryAuthor() {
	    super();
	}

	

}